package com.controller;

import com.pojo.Gooall;
import com.service.GooallService;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

import javax.annotation.Resource;

@RestController
@RequestMapping("base/goodsSort")
public class GoodsSortHandler {
    @Resource
    private GooallService gooallService;

    @RequestMapping("/searchByGoodsSort")
    public Gooall searchByGoodsSort(String id){
        return gooallService.get(id);
    }
}
